#include "SensorFactory.h"
//#include "CameraSensor.h"
#include "KinectSensor.h"
#include "TestSensor.h"


Sensor* SensorFactory::createSensor (const OOPUtils::OOPString& sensorName,
		const OOPUtils::OOPString& configPath)
{
	Sensor* pSensor = NULL;
// 	if (sensorName == L"CameraSensor")
// 		pSensor = new CameraSensor (configPath);
// 	else
	if (sensorName == L"KinectSensor")
		pSensor = new KinectSensor (configPath);
	else if (sensorName == L"TestSensor")
		pSensor = new TestSensor (configPath);
	return pSensor;
}